package com.cedarhd.finance.log.domain.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * Created by Administrator on 2018/3/6.
 */
@Entity
@Data
public class ErrorLog extends IdEntity{

    @Column(columnDefinition = "varchar(5) NOT NULL comment '错误码 如PAYS1001'")
    private String code;

    @Column(columnDefinition = "int(1) NOT NULL comment '错误级别1-5,1为最高'")
    private Integer urgent;

    @Column(columnDefinition = "varchar(50) comment '返回给用户的错误描述'")
    private String showDesc;

    @Column(columnDefinition = "varchar(500) comment '研发人员看的错误描述'")
    private String sysDesc;
}
